package durst.exception;

import net.sourceforge.stripes.action.ActionBeanContext;

public class AccessDeniedException extends RuntimeException {
	private static final long serialVersionUID = -1764123173838260289L;
	
	public boolean jsonRequest; 
	public String prefix;
	
	public AccessDeniedException(boolean json, ActionBeanContext context) {
		jsonRequest = json;
		prefix = context.getServletContext().getContextPath();
	}
}
